package com.bsj.travel.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yinhao
 * @version 1.0
 * @description 访问白名单配置
 * @date 2023/10/18
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.ignore")
public class IgnoreGeneralProperties {
    /**
     * 放行白名单配置，网关不进行白名单校验
     */
    private List<String> general = new ArrayList<>();
}
